package com.xiaoyu.shenyou.shenyouv1.services;


import com.xiaoyu.shenyou.shenyouv1.common.shenyouentity.RootBean;
import com.xiaoyu.shenyou.shenyouv1.dto.*;
import com.xiaoyu.shenyou.shenyouv1.entity.AutoConfigEntity;
import com.xiaoyu.shenyou.shenyouv1.entity.AutoLogEntity;
import com.xiaoyu.shenyou.shenyouv1.entity.AutoUserEntity;

import java.util.List;

public interface AutoPlayService {
    public AutoUserEntity userLogin(LoginDTO loginDTO);

    public AutoConfigEntity getAutoConfigById(int userId);

    public List<AutoLogEntity> getAutoLogsById(AutoUserDTO autoUserDTO);

    public void updateAutoConfig(AutoConfigDTO autoConfigDTO);

    public void updateAuto(AutoPlayDTO autoPlayDTO);

    public void insertDefaultAutoConfig(AutoUserEntity autoUserEntity);

    public boolean changRoom(ChangRoomDTO changRoomDTO);

    public RootBean sendMsg(PhoneDTO phoneDTO);

    public RootBean submitPhoneAndCode(CodeDTO codeDTO);

}
